package com.hzg.ssm.mapper;

import com.hzg.ssm.domain.User;
import com.hzg.ssm.query.QueryObject;

import java.util.List;

public interface UserMapper {
    int deleteByPrimaryKey(Long id);

    int insert(User record);

    User selectByPrimaryKey(Long id);

    List<User> selectAll();

    int updateByPrimaryKey(User record);

    List<User> queryList(QueryObject queryObject);

    int queryCount(QueryObject queryObject);
}